<?php

class status extends controller_basic {
	function index() {
		$allAccountCount = mdl_account_basic::getInstance()->getAllCount();
		$allBottleCount = mdl_bottle_item::getInstance()->getAllCount();

		echo json_encode(array(
			'account_count' => $allAccountCount,
			'bottle_count' => $allBottleCount
		));
	}
}